<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" MasterPageFile="~/_layouts/application.master" Inherits="CKS.FormsBasedAuthentication.UserDelete, CKS.FormsBasedAuthentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d0c9b215512a2c5d" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<asp:Content ID="Content1" contentplaceholderid="PlaceHolderPageTitle" runat="server">
	<SharePoint:EncodedLiteral ID="PageTitle"
						Text="Delete Forms Based Authentication User"
						EncodeMethod="HtmlEncode" runat="server"/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:EncodedLiteral ID="TitleArea"
						Text="Delete Forms Based Authentication User"
						EncodeMethod="HtmlEncode" runat="server"/>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">
	<script language="javascript">
	try{
		document.getElementById("BtnCancel").focus();
	}
	catch(e){}
	
	function confirmDelete()
	{
		return confirm("<SharePoint:EncodedLiteral runat='server' text='Are you sure you want to permenantly delete this user?' EncodeMethod='EcmaScriptStringLiteralEncode'/>");
	}
	</script>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderId="PlaceHolderMain" runat="server">

<table border="0" width="100%" cellspacing="0" cellpadding="0" class="ms-descriptiontext">
    <wssuc:InputFormSection runat="server" Title="Confirm User Delete">
	    <Template_InputFormControls>
		    <wssuc:InputFormControl runat="server" LabelText="">
			    <Template_Control>
			        <asp:Label ID="deleteMsg" runat="server" Text=""></asp:Label>
			    </Template_Control>
		    </wssuc:InputFormControl>
	    </Template_InputFormControls>
    </wssuc:InputFormSection>
	<wssuc:ButtonSection runat="server">
		<Template_Buttons>
		<asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="OnDelete" OnClientClick="if (!confirmDelete()) return false;" Text="Delete" id="BtnDelete" accesskey="D"/>
		</Template_Buttons>
	</wssuc:ButtonSection>
</table>
</asp:Content>
